/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.module.air.controller.admin.search.vo.price;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 运价信息 Response VO
 *
 * @author hesx
 */
@Data
@Schema(description = "管理后台 - 运价信息 Response VO")
public class AirPriceRespVO {

    @Schema(description = "渠道编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "102")
    private Long channelId;

    @Schema(description = "渠道类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer channelType;

    @Schema(description = "渠道名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "渠道名称")
    private String channelName;

    @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "精选特惠")
    private String productName;

    @Schema(description = "产品类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String productType;

    @Schema(description = "产品属性", requiredMode = Schema.RequiredMode.REQUIRED, example = "行程单+差额发票/严控价差300以内")
    private String productProperty;

    @Schema(description = "政策ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
    private String policyId;

    @Schema(description = "政策类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "6")
    private String policyType;

    @Schema(description = "舱位", requiredMode = Schema.RequiredMode.REQUIRED, example = "Y")
    private String cabin;

    @Schema(description = "仓位剩余座位数", requiredMode = Schema.RequiredMode.REQUIRED, example = "A")
    private String cabinCount;

    @Schema(description = "舱位等级", requiredMode = Schema.RequiredMode.REQUIRED, example = "头等舱")
    private String cabinType;

    @Schema(description = "舱位等级名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "经济舱5.1折")
    private String cabinTypeName;

    @Schema(description = "客户协议类型 字典（air_customer_agreement_type 1-普通/2-GP/3-三方协议）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer customerAgreementType;

    @Schema(description = "公布运价", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000")
    private BigDecimal publicPrice;

    @Schema(description = "机票价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000")
    private BigDecimal price;

    @Schema(description = "成人运价来源", requiredMode = Schema.RequiredMode.REQUIRED, example = "PUB")
    private String priceSource;

    @Schema(description = "折扣", requiredMode = Schema.RequiredMode.REQUIRED, example = "0.9")
    private BigDecimal discount;

    @Schema(description = "折扣价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000")
    private BigDecimal discountPrice;

    @Schema(description = "儿童价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000")
    private BigDecimal childPrice;

    @Schema(description = "儿童运价来源", requiredMode = Schema.RequiredMode.REQUIRED, example = "PUB")
    private String childPriceSource;

    @Schema(description = "婴儿价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000")
    private BigDecimal babyPrice;

    @Schema(description = "婴儿运价来源", requiredMode = Schema.RequiredMode.REQUIRED, example = "PUB")
    private String babyPriceSource;

    @Schema(description = "预定参数加密串", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
    private String bookingKey;

    @Schema(description = "预定参数加密串", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
    private String bookingSecret;
}
